import request from "@/utils/request";

// 查询年报管理列表
export function listBizYearDept(query) {
  return request({
    url: "/biz/bizYearDept/list",
    method: "get",
    params: query,
  });
}

// 查询年报管理详细
export function getBizYearDept(id) {
  return request({
    url: "/biz/bizYearDept/" + id,
    method: "get",
  });
}

// 新增年报管理
export function addBizYearDept(data) {
  return request({
    url: "/biz/bizYearDept",
    method: "post",
    data: data,
  });
}

// 修改年报管理
export function updateBizYearDept(data) {
  return request({
    url: "/biz/bizYearDept",
    method: "put",
    data: data,
  });
}

// 删除年报管理
export function delBizYearDept(id) {
  return request({
    url: "/biz/bizYearDept/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizYearDept/findMaxSort",
    method: "get",
  });
}
// 导出年报管理
export function exportBizYearDept(query) {
  return request({
    url: "/biz/bizYearDept/export",
    method: "get",
    params: query,
  });
}
